package com.hunttown.common.sharding.client.rule.function;

public abstract class Function<T> {
    public Function() {
    }

    abstract long eval(T var1);

    abstract T parseInput(Object var1);

    public long process(Object input) {
        return this.eval(this.parseInput(input));
    }
}